.class public Lcom/nemustech/regina/RLog;
.super Ljava/lang/Object;
.source "RLog.java"


# static fields
.field private static final ASSERT:I = 0x1

.field private static final DEBUG:I = 0x2

.field private static final ERROR:I = 0x3

.field private static final INFO:I = 0x4

.field private static final LOG_HEAD:Ljava/lang/String; = "### "

.field private static final VERBOSE:I = 0x5

.field private static final WARN:I = 0x6

.field public static final isDebugging:Z


# direct methods
.method public constructor <init>()V
    .locals 0

    .prologue
    .line 5
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method public static d(Ljava/lang/String;Ljava/lang/String;)I
    .locals 2
    .parameter "tag"
    .parameter "msg"

    .prologue
    .line 27
    const/4 v0, 0x2

    const/4 v1, 0x0

    invoke-static {v0, p0, p1, v1}, Lcom/nemustech/regina/RLog;->log(ILjava/lang/String;Ljava/lang/String;Z)I

    move-result v0

    return v0
.end method

.method public static d(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
    .locals 2
    .parameter "tag"
    .parameter "msg"
    .parameter "tr"

    .prologue
    .line 35
    const/4 v0, 0x2

    const/4 v1, 0x0

    invoke-static {v0, p0, p1, v1}, Lcom/nemustech/regina/RLog;->log(ILjava/lang/String;Ljava/lang/String;Z)I

    move-result v0

    return v0
.end method

.method public static d(Ljava/lang/String;Ljava/lang/String;Z)I
    .locals 1
    .parameter "tag"
    .parameter "msg"
    .parameter "showMeOnly"

    .prologue
    .line 31
    const/4 v0, 0x2

    invoke-static {v0, p0, p1, p2}, Lcom/nemustech/regina/RLog;->log(ILjava/lang/String;Ljava/lang/String;Z)I

    move-result v0

    return v0
.end method

.method public static e(Ljava/lang/String;Ljava/lang/String;)I
    .locals 2
    .parameter "tag"
    .parameter "msg"

    .prologue
    .line 39
    const/4 v0, 0x3

    const/4 v1, 0x0

    invoke-static {v0, p0, p1, v1}, Lcom/nemustech/regina/RLog;->log(ILjava/lang/String;Ljava/lang/String;Z)I

    move-result v0

    return v0
.end method

.method public static e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
    .locals 2
    .parameter "tag"
    .parameter "msg"
    .parameter "tr"

    .prologue
    .line 47
    const/4 v0, 0x3

    const/4 v1, 0x0

    invoke-static {v0, p0, p1, p2, v1}, Lcom/nemustech/regina/RLog;->log(ILjava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;Z)I

    move-result v0

    return v0
.end method

.method public static e(Ljava/lang/String;Ljava/lang/String;Z)I
    .locals 1
    .parameter "tag"
    .parameter "msg"
    .parameter "showMeOnly"

    .prologue
    .line 43
    const/4 v0, 0x3

    invoke-static {v0, p0, p1, p2}, Lcom/nemustech/regina/RLog;->log(ILjava/lang/String;Ljava/lang/String;Z)I

    move-result v0

    return v0
.end method

.method public static i(Ljava/lang/String;Ljava/lang/String;)I
    .locals 2
    .parameter "tag"
    .parameter "msg"

    .prologue
    .line 51
    const/4 v0, 0x4

    const/4 v1, 0x0

    invoke-static {v0, p0, p1, v1}, Lcom/nemustech/regina/RLog;->log(ILjava/lang/String;Ljava/lang/String;Z)I

    move-result v0

    return v0
.end method

.method public static i(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
    .locals 2
    .parameter "tag"
    .parameter "msg"
    .parameter "tr"

    .prologue
    .line 59
    const/4 v0, 0x4

    const/4 v1, 0x0

    invoke-static {v0, p0, p1, p2, v1}, Lcom/nemustech/regina/RLog;->log(ILjava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;Z)I

    move-result v0

    return v0
.end method

.method public static i(Ljava/lang/String;Ljava/lang/String;Z)I
    .locals 1
    .parameter "tag"
    .parameter "msg"
    .parameter "showMeOnly"

    .prologue
    .line 55
    const/4 v0, 0x4

    invoke-static {v0, p0, p1, p2}, Lcom/nemustech/regina/RLog;->log(ILjava/lang/String;Ljava/lang/String;Z)I

    move-result v0

    return v0
.end method

.method private static log(ILjava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;Z)I
    .locals 3
    .parameter "type"
    .parameter "tag"
    .parameter "msg"
    .parameter "tr"
    .parameter "show"

    .prologue
    .line 112
    const/4 v0, 0x0

    .line 113
    .local v0, result:I
    const/4 v1, 0x1

    if-ne p4, v1, :cond_0

    .line 114
    packed-switch p0, :pswitch_data_0

    .line 133
    :cond_0
    :goto_0
    return v0

    .line 116
    :pswitch_0
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "### "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {p1, v1, p3}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    move-result v0

    .line 117
    goto :goto_0

    .line 119
    :pswitch_1
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "### "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {p1, v1, p3}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    move-result v0

    .line 120
    goto :goto_0

    .line 122
    :pswitch_2
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "### "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {p1, v1, p3}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    move-result v0

    .line 123
    goto :goto_0

    .line 125
    :pswitch_3
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "### "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {p1, v1, p3}, Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    move-result v0

    .line 126
    goto :goto_0

    .line 128
    :pswitch_4
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "### "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {p1, v1, p3}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    move-result v0

    goto :goto_0

    .line 114
    :pswitch_data_0
    .packed-switch 0x2
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_3
        :pswitch_4
    .end packed-switch
.end method

.method private static log(ILjava/lang/String;Ljava/lang/String;Z)I
    .locals 3
    .parameter "type"
    .parameter "tag"
    .parameter "msg"
    .parameter "show"

    .prologue
    .line 87
    const/4 v0, 0x0

    .line 88
    .local v0, result:I
    const/4 v1, 0x1

    if-ne p3, v1, :cond_0

    .line 89
    packed-switch p0, :pswitch_data_0

    .line 108
    :cond_0
    :goto_0
    return v0

    .line 91
    :pswitch_0
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "### "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {p1, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    move-result v0

    .line 92
    goto :goto_0

    .line 94
    :pswitch_1
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "### "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {p1, v1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    move-result v0

    .line 95
    goto :goto_0

    .line 97
    :pswitch_2
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "### "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {p1, v1}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    move-result v0

    .line 98
    goto :goto_0

    .line 100
    :pswitch_3
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "### "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {p1, v1}, Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/String;)I

    move-result v0

    .line 101
    goto :goto_0

    .line 103
    :pswitch_4
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "### "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {p1, v1}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I

    move-result v0

    goto :goto_0

    .line 89
    :pswitch_data_0
    .packed-switch 0x2
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_3
        :pswitch_4
    .end packed-switch
.end method

.method static touchEventToString(I)Ljava/lang/String;
    .locals 1
    .parameter "event"

    .prologue
    .line 9
    packed-switch p0, :pswitch_data_0

    .line 13
    const-string v0, "unknown"

    :goto_0
    return-object v0

    .line 10
    :pswitch_0
    const-string v0, "onTouchEvent() ACTION_DOWN"

    goto :goto_0

    .line 11
    :pswitch_1
    const-string v0, "onTouchEvent() ACTION_UP"

    goto :goto_0

    .line 12
    :pswitch_2
    const-string v0, "onTouchEvent() ACTION_MOVE"

    goto :goto_0

    .line 9
    nop

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_1
        :pswitch_2
    .end packed-switch
.end method

.method public static v(Ljava/lang/String;Ljava/lang/String;)I
    .locals 2
    .parameter "tag"
    .parameter "msg"

    .prologue
    .line 63
    const/4 v0, 0x5

    const/4 v1, 0x0

    invoke-static {v0, p0, p1, v1}, Lcom/nemustech/regina/RLog;->log(ILjava/lang/String;Ljava/lang/String;Z)I

    move-result v0

    return v0
.end method

.method public static v(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
    .locals 2
    .parameter "tag"
    .parameter "msg"
    .parameter "tr"

    .prologue
    .line 71
    const/4 v0, 0x5

    const/4 v1, 0x0

    invoke-static {v0, p0, p1, p2, v1}, Lcom/nemustech/regina/RLog;->log(ILjava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;Z)I

    move-result v0

    return v0
.end method

.method public static v(Ljava/lang/String;Ljava/lang/String;Z)I
    .locals 1
    .parameter "tag"
    .parameter "msg"
    .parameter "showMeOnly"

    .prologue
    .line 67
    const/4 v0, 0x5

    invoke-static {v0, p0, p1, p2}, Lcom/nemustech/regina/RLog;->log(ILjava/lang/String;Ljava/lang/String;Z)I

    move-result v0

    return v0
.end method

.method public static w(Ljava/lang/String;Ljava/lang/String;)I
    .locals 2
    .parameter "tag"
    .parameter "msg"

    .prologue
    .line 75
    const/4 v0, 0x6

    const/4 v1, 0x0

    invoke-static {v0, p0, p1, v1}, Lcom/nemustech/regina/RLog;->log(ILjava/lang/String;Ljava/lang/String;Z)I

    move-result v0

    return v0
.end method

.method public static w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
    .locals 2
    .parameter "tag"
    .parameter "msg"
    .parameter "tr"

    .prologue
    .line 83
    const/4 v0, 0x6

    const/4 v1, 0x0

    invoke-static {v0, p0, p1, p2, v1}, Lcom/nemustech/regina/RLog;->log(ILjava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;Z)I

    move-result v0

    return v0
.end method

.method public static w(Ljava/lang/String;Ljava/lang/String;Z)I
    .locals 1
    .parameter "tag"
    .parameter "msg"
    .parameter "showMeOnly"

    .prologue
    .line 79
    const/4 v0, 0x6

    invoke-static {v0, p0, p1, p2}, Lcom/nemustech/regina/RLog;->log(ILjava/lang/String;Ljava/lang/String;Z)I

    move-result v0

    return v0
.end method
